<!DOCTYPE html>
<html lang="en"
     xmlns="http://www.w3.org/1999/xhtml"
     xmlns:f="http://java.sun.com/jsf/core"
     xmlns:h="http://java.sun.com/jsf/html"
     xmlns:ui="http://java.sun.com/jsf/facelets"
     xmlns:p="http://primefaces.org/ui"
     xmlns:c="http://java.sun.com/jsp/jstl/core">
     
     
     <f:view contentType="text/html">
     <h:head>
     	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
     	   <script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script>
     	
     	<title><ui:insert name="title" /></title>
     	<link href="http://localhost:8080/CargaisonWeb/css/login.css"  type="text/css" rel="stylesheet"></link>
     	
     </h:head>
     <h:body>
     <p:commandButton id="top" value="bienvenue" ></p:commandButton>
     <p:megaMenu orientation="#{megaMenuView.orientation}" style="margin-top:20px">
     
     <p:menuitem value="Register Now" url="http://localhost:8080/CargaisonWeb/faces/frontOffice/Register/Register.xhtml" />
     <p:menuitem value="Signin" rendered="#{!loginnMB.connect}" url="http://localhost:8080/CargaisonWeb/faces/frontOffice/Login/login.xhtml" />
     <p:menuitem value="Logout" rendered="#{loginnMB.connect}" url="http://localhost:8080/CargaisonWeb/faces/frontOffice/Login/logout.xhtml" />
     <p:menuitem value="liste your load" url="http://localhost:8080/CargaisonWeb/faces/frontOffice/AvantPaiement.xhtml" />
     <p:menuitem value="track and trace your shipment" url="#" />
     <p:menuitem value="my transport" url="myTransport" />
     <p:menuitem value="how it work" url="#" />
     <p:menuitem value="Carrier directory" url="#" />
     <p:menuitem value="Shipper directory" url="#" />
     <p:menuitem value="Search freight" url="http://localhost:8080/CargaisonWeb/faces/frontOffice/ChercherOffre.xhtml" />
     </p:megaMenu>

       <ui:insert name="body" />
     </h:body>
     </f:view>
     <br/><br/>
        <p:commandButton id="bottom" value=" © 2015 , Inc. All Rights Reserved." />

</html>